package com.zp.drug.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;


/**
 * 药品供应商生产商维护业务对象
 *
 * @author zhang peng
 * @ date 2023-05-31
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DrugSupplierCataBo extends BaseEntity {

    /**
     * 主键
     */
//    @NotBlank(message = "主键不能为空", groups = {EditGroup.class})
    private String id;

    /**
     * 供应商别名
     */
//    @NotBlank(message = "供应商别名不能为空", groups = {AddGroup.class, EditGroup.class})
    private String supplierJc;

    /**
     * 厂商
     */
//    @NotBlank(message = "厂商不能为空", groups = {AddGroup.class, EditGroup.class})
    private String supplierName;

    /**
     * 厂商类别
     */
//    @NotBlank(message = "厂商类别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String supplierClass;

    /**
     * 输入码
     */
    private String inputCode;

    /**
     * 注册商标
     */
    private String trademark;

    /**
     * 是否国外
     */
    private String foreignx;

    /**
     * 厂商代码
     */
    private String supplierCode;

    /**
     * 是否使用
     */
    @NotBlank(message = "是否使用不能为空", groups = {AddGroup.class, EditGroup.class})
    private String usedFlag;

    /**
     * 备注信息
     */
    private String remarks;


}
